home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User: The Risc OS Music Utilities CD
/
Acorn User: The Risc OS Music Utilities CD.iso
/
ARGONET
/
REPLAYER.SPK
/
ReadMe
< prev
next >
Wrap
Text File
|
1998-09-07
|
5KB
|
133 lines
Replayer version 1.0.0 (5th September 1998)
========================
0. Contents
-----------
1. Introduction
2. Using the libraries
3. Using the command-line programs
4. Compiling it, and linking against it
5. Version history
6. Things to do
7. Author and copyright
1. Introduction
---------------
Replayer is a library which actually consists of two separate libraries.
The first (`replaydriver.h') deals with using the Acorn Replay sound drivers
to play raw sound data. The second (`replayer.h') will play the sound
portion of Acorn Replay files, using the first library.
Two example command-line programs are provided. playraw plays raw sound
data using `replaydriver.h'. replayer plays Replay files using
`replayer.h', with a few nice features such as a simple playlist,
interactive control, and file diagnostics.
Parts of Replayer are also fairly portable (such as the ARMovie file header
reader), so it would not require much effort to port the Replay file player
to another platform if you wanted.
One special feature is that Replayer can play Replay files backwards! If
you have a program like CDAudio (which provides a filing system that
presents audio CD tracks as Replay files), you can use it to search for
hidden messages in music!
Future versions will be available from:
<http://www.argonet.co.uk/users/mseaborn/comp/programs.html#replayer>
2. Using the libraries
----------------------
There isn't any documentation as such, but reading the header files will
give you an idea of what functions are provided. More information about
each function is given in the comments in the actual C source files.
The examples, replayer and playraw are also helpful. If you need more
information, e-mail me and I'll try to help.
3. Using the command-line programs
----------------------------------
Do `playraw -h' and `replayer -h' for information on running each
respectively. That should be all the info you'll need.
If you want a desktop front-end, the next version of Harmony will use
Replayer, and will be available from
<http://www.argonet.co.uk/users/mseaborn/harmony/harmony.html>.
4. Compiling it, and linking against it
---------------------------------------
You will need:
* A C compiler. I used Norcroft C (Acorn's compiler), but gcc could be
used (I haven't tried it).
* An ARM assembler. Acorn's ObjAsm or the free `as'.
* Linker, C library, etc.
* OSLib.
* make and Makatic are useful, but not required.
* MakeUtils from my Dreamscape library.
* Probably some things I've forgotten.
A compiled version of the library, `Replayer:o.replaylib', is included
(built with Norcroft C, for linking with the Shared C Library stubs).
Executables for the command-line programs are included.
Macros for compiling different builds
- - - - - - - - - - - - - - - - - - -
There are a couple of macros which, when defined, change what variant of
Replayer is build (they are undefined by default):
`replayer_NO_ATEXIT_HANDLER':
Stops the replayer component from registering an atexit handler to destroy
all replayer objects on exit. This makes it more suitable for using in a
relocatable module. An atexit handler is not needed if you know your
program will not leave any files playing when it quits.
`replayer_NO_BACKWARDS':
Removes support for playing sound backwards. Reduces featuritis, and shaves
a few bytes off the executable size!
5. Version history
------------------
Before 1.0.0 (written around October 1997):
Not released and not numbered.
1.0.0 (released 5th September 1998):
After numerous improvements and additions, as well as more testing, this
is the first release version.
6. Things to do
---------------
Features to add:
* Jumping to given places within a file.
* Support for backwards playing with type 2 sound (not worth it).
* Other extras to complement backwards playing.
Bugs:
* Better tidying up on errors (especially in header.c).
7. Author and copyright
-----------------------
Replayer was written by me, where I am Mark Seaborn. I can be contacted by
e-mail at <mseaborn@argonet.co.uk>. If, in the far future, this e-mail
address ceases to work, try using <mseaborn@bigfoot.com>. A Web page for
Replayer can be found at
<http://www.argonet.co.uk/users/mseaborn/comp/programs.html#replayer>.
This software is copyright (c) 1997/8 Mark Seaborn. You can modify and
distribute it under the terms and conditions of the GNU Library General
Public Licence version 2, or, at your option, a later version. (However, I
am open to negotiation for different licences if you find the LGPL's
conditions too strict.)
If you have any suggestions or improvements, or have found (or even fixed) a
bug, please contact me! I'd particularly like to hear from you if you've
ported Replayer to another platform!